#ifndef DOORBELL_CAMERA_H
#define DOORBELL_CAMERA_H

#include "esp_camera.h"

void doorbell_camera_init(void);

void doorbell_camera_deinit(void);

camera_fb_t* doorbell_camera_capture();

void doorbell_camera_release(camera_fb_t *fb);

void doorbell_camera_fb2rgb565(camera_fb_t *fb, void *rgb565_buf);

#endif